//
// Created by Crestimes on 24-6-8.
//

#ifndef OPT_H
#define OPT_H
#include "BaseAlgorithm.h"


class OPT final : public BaseAlgorithm {
public:
    OPT(const vector<int>& pageList, const int maxSize): BaseAlgorithm(pageList, maxSize) {
        algorithmName = "OPT";
    }

    void doSomethingWhenLimit(int pos, int& out) override;
};


#endif //OPT_H
